package com.oscar.ehome.bean.pagebean;

import java.util.List;

/**
 * Created by juxing
 * author: MengWanhe
 * date: On 2017/9/15
 * 小课堂
 */

public class ClassRoomBean {

    private int count = 0;
    private int lastPage = 0;
    private List<ClassRoomListBean> list;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public int getLastPage() {
        return lastPage;
    }

    public void setLastPage(int lastPage) {
        this.lastPage = lastPage;
    }

    public List<ClassRoomListBean> getList() {
        return list;
    }

    public void setList(List<ClassRoomListBean> list) {
        this.list = list;
    }

    public static class ClassRoomListBean {
        private String id;
        private String createDate;
        private String title;
        private String coverPicture;
        private String mediaName;
        private String content;
        private createByBean createBy;
        private String remarks;//内容
        private String mediaType;//video/mp4  application/pdf    audio/mp3


        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getId() {
            if (id == null) {
                id = "";
            }
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateDate() {
            if (createDate == null) {
                createDate = "";
            }
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getTitle() {
            if (title == null) {
                title = "";
            }
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getCoverPicture() {
            if (coverPicture == null) {
                coverPicture = "";
            }
            return coverPicture;
        }

        public void setCoverPicture(String coverPicture) {
            this.coverPicture = coverPicture;
        }

        public String getMediaName() {
            if (mediaName == null) {
                mediaName = "";
            }
            return mediaName;
        }

        public void setMediaName(String mediaName) {
            this.mediaName = mediaName;
        }

        public String getContent() {
            if (content == null) {
                content = "";
            }
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public createByBean getCreateBy() {
            return createBy;
        }

        public void setCreateBy(createByBean createBy) {
            this.createBy = createBy;
        }

        public String getMediaType() {
            return mediaType;
        }

        public void setMediaType(String mediaType) {
            this.mediaType = mediaType;
        }

        public class createByBean {
            public String name;

            public String getName() {
                if (name == null) {
                    name = "暂无";
                }
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

    }

}
